package com.zb.entity.bigscreen;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import com.zb.util.annotation.Ignore;
import com.zb.util.annotation.PrimaryKey;
import com.zb.util.annotation.Table;

/**
 * 大屏显示虚拟实体
 *
 * @author pengyu
 *
 */

public class ScreenCharger implements Serializable, Cloneable  {


	private static final long serialVersionUID = 1218349197650694596L;

	private String charger_id;//直流桩的ID
	private int charger_type;
	private String bespeak_user_pay_card;//预约口的卡号
	//以下是充电口的数据
	private String charger_kwh;//*当前已用电量（度）]
	private String charger_v;//电压
	private String charger_i;//电流
	private String charger_p;//功率
	private String soc;
	private String battery_temperature;//电池温度
	private String remaining_time;//分钟数
	//以下是改造后的返回数据
	private List<?> stateList;
	//以下是天气信息
	private String city_temperature;//城市温度
	private String weather;//天气
	private String pm25;//pm2.5
	private String pm_level;//pm2.5级别

	public List<?> getStateList() {
		return stateList;
	}
	public void setStateList(List<?> stateList) {
		this.stateList = stateList;
	}
	public String getRemaining_time() {
		return remaining_time;
	}
	public void setRemaining_time(String remaining_time) {
		this.remaining_time = remaining_time;
	}
	public String getCharger_id() {
		return charger_id;
	}
	public void setCharger_id(String charger_id) {
		this.charger_id = charger_id;
	}
	public int getCharger_type() {
		return charger_type;
	}
	public void setCharger_type(int charger_type) {
		this.charger_type = charger_type;
	}
	public String getBespeak_user_pay_card() {
		return bespeak_user_pay_card;
	}
	public void setBespeak_user_pay_card(String bespeak_user_pay_card) {
		this.bespeak_user_pay_card = bespeak_user_pay_card;
	}
	public String getCharger_kwh() {
		return charger_kwh;
	}
	public void setCharger_kwh(String charger_kwh) {
		this.charger_kwh = charger_kwh;
	}
	public String getCharger_v() {
		return charger_v;
	}
	public void setCharger_v(String charger_v) {
		this.charger_v = charger_v;
	}
	public String getCharger_i() {
		return charger_i;
	}
	public void setCharger_i(String charger_i) {
		this.charger_i = charger_i;
	}
	public String getCharger_p() {
		return charger_p;
	}
	public void setCharger_p(String charger_p) {
		this.charger_p = charger_p;
	}
	public String getSoc() {
		return soc;
	}
	public void setSoc(String soc) {
		this.soc = soc;
	}
	public String getBattery_temperature() {
		return battery_temperature;
	}
	public void setBattery_temperature(String battery_temperature) {
		this.battery_temperature = battery_temperature;
	}


	public String getCity_temperature() {
		return city_temperature;
	}
	public void setCity_temperature(String city_temperature) {
		this.city_temperature = city_temperature;
	}
	public String getWeather() {
		return weather;
	}
	public void setWeather(String weather) {
		this.weather = weather;
	}
	public String getPm25() {
		return pm25;
	}
	public void setPm25(String pm25) {
		this.pm25 = pm25;
	}
	public String getPm_level() {
		return pm_level;
	}
	public void setPm_level(String pm_level) {
		this.pm_level = pm_level;
	}
	@Override
	    public Object clone() throws CloneNotSupportedException
	    {
	        return super.clone();
	    }
	@Override
	public String toString() {
		return "ScreenCharger [charger_id=" + charger_id + ", bespeak_user_pay_card=" + bespeak_user_pay_card
				+ ", charger_kwh=" + charger_kwh + ", charger_v=" + charger_v + ", charger_i=" + charger_i
				+ ", charger_p=" + charger_p + ", soc=" + soc + ", battery_temperature=" + battery_temperature
				+ ", remaining_time=" + remaining_time + ", city_temperature=" + city_temperature + ", weather="
				+ weather + ", pm25=" + pm25 + ", pm_level=" + pm_level + "]";
	}
	public static void main(String[] args) {
//		String jsonResult = "{\"HeWeather data service 3.0\":[{\"daily_forecast\":[{\"wind\":{\"dir\":\"南风\",\"deg\":\"153\",\"sc\":\"微风\",\"spd\":\"0\"},\"hum\":\"70\",\"pcpn\":\"2.4\",\"astro\":{\"sr\":\"06:33\",\"ss\":\"19:15\"},\"tmp\":{\"min\":\"13\",\"max\":\"22\"},\"pop\":\"95\",\"pres\":\"1010\",\"date\":\"2016-04-11\",\"cond\":{\"code_d\":\"101\",\"txt_n\":\"阵雨\",\"code_n\":\"300\",\"txt_d\":\"多云\"},\"vis\":\"9\"},{\"wind\":{\"dir\":\"南风\",\"deg\":\"332\",\"sc\":\"微风\",\"spd\":\"6\"},\"hum\":\"68\",\"pcpn\":\"7.2\",\"astro\":{\"sr\":\"06:32\",\"ss\":\"19:15\"},\"tmp\":{\"min\":\"15\",\"max\":\"21\"},\"pop\":\"92\",\"pres\":\"1006\",\"date\":\"2016-04-12\",\"cond\":{\"code_d\":\"101\",\"txt_n\":\"阵雨\",\"code_n\":\"300\",\"txt_d\":\"多云\"},\"vis\":\"9\"},{\"wind\":{\"dir\":\"南风\",\"deg\":\"89\",\"sc\":\"微风\",\"spd\":\"7\"},\"hum\":\"53\",\"pcpn\":\"0.6\",\"astro\":{\"sr\":\"06:31\",\"ss\":\"19:16\"},\"tmp\":{\"min\":\"12\",\"max\":\"20\"},\"pop\":\"83\",\"pres\":\"1007\",\"date\":\"2016-04-13\",\"cond\":{\"code_d\":\"104\",\"txt_n\":\"阵雨\",\"code_n\":\"300\",\"txt_d\":\"阴\"},\"vis\":\"10\"},{\"wind\":{\"dir\":\"南风\",\"deg\":\"210\",\"sc\":\"微风\",\"spd\":\"4\"},\"hum\":\"58\",\"pcpn\":\"20.4\",\"astro\":{\"sr\":\"06:30\",\"ss\":\"19:16\"},\"tmp\":{\"min\":\"14\",\"max\":\"21\"},\"pop\":\"75\",\"pres\":\"1003\",\"date\":\"2016-04-14\",\"cond\":{\"code_d\":\"104\",\"txt_n\":\"雷阵雨\",\"code_n\":\"302\",\"txt_d\":\"阴\"},\"vis\":\"9\"},{\"wind\":{\"dir\":\"南风\",\"deg\":\"283\",\"sc\":\"微风\",\"spd\":\"10\"},\"hum\":\"46\",\"pcpn\":\"6.3\",\"astro\":{\"sr\":\"06:29\",\"ss\":\"19:17\"},\"tmp\":{\"min\":\"16\",\"max\":\"24\"},\"pop\":\"67\",\"pres\":\"1004\",\"date\":\"2016-04-15\",\"cond\":{\"code_d\":\"101\",\"txt_n\":\"阴\",\"code_n\":\"104\",\"txt_d\":\"多云\"},\"vis\":\"10\"},{\"wind\":{\"dir\":\"南风\",\"deg\":\"344\",\"sc\":\"微风\",\"spd\":\"8\"},\"hum\":\"62\",\"pcpn\":\"8.2\",\"astro\":{\"sr\":\"06:28\",\"ss\":\"19:17\"},\"tmp\":{\"min\":\"12\",\"max\":\"22\"},\"pop\":\"58\",\"pres\":\"1011\",\"date\":\"2016-04-16\",\"cond\":{\"code_d\":\"101\",\"txt_n\":\"阴\",\"code_n\":\"104\",\"txt_d\":\"多云\"},\"vis\":\"10\"},{\"wind\":{\"dir\":\"南风\",\"deg\":\"169\",\"sc\":\"微风\",\"spd\":\"5\"},\"hum\":\"82\",\"pcpn\":\"2.5\",\"astro\":{\"sr\":\"06:27\",\"ss\":\"19:18\"},\"tmp\":{\"min\":\"11\",\"max\":\"21\"},\"pop\":\"50\",\"pres\":\"1008\",\"date\":\"2016-04-17\",\"cond\":{\"code_d\":\"101\",\"txt_n\":\"中雨\",\"code_n\":\"306\",\"txt_d\":\"多云\"},\"vis\":\"10\"}],\"status\":\"ok\",\"now\":{\"wind\":{\"dir\":\"东风\",\"deg\":\"142\",\"sc\":\"4-5\",\"spd\":\"21\"},\"hum\":\"75\",\"pcpn\":\"0\",\"fl\":\"18\",\"tmp\":\"17\",\"pres\":\"1011\",\"cond\":{\"code\":\"101\",\"txt\":\"多云\"},\"vis\":\"10\"},\"basic\":{\"update\":{\"utc\":\"2016-04-11 12:59\",\"loc\":\"2016-04-11 20:59\"},\"id\":\"CN101260101\",\"lon\":\"106.700000\",\"cnty\":\"中国\",\"lat\":\"26.572000\",\"city\":\"贵阳\"},\"aqi\":{\"city\":{\"co\":\"1\",\"so2\":\"8\",\"o3\":\"76\",\"no2\":\"31\",\"aqi\":\"64\",\"pm10\":\"75\",\"pm25\":\"33\",\"qlty\":\"良\"}},\"suggestion\":{\"drsg\":{\"brf\":\"较舒适\",\"txt\":\"建议着薄外套、开衫牛仔衫裤等服装。年老体弱者应适当添加衣物，宜着夹克衫、薄毛衣等。\"},\"trav\":{\"brf\":\"适宜\",\"txt\":\"天气较好，但丝毫不会影响您出行的心情。温度适宜又有微风相伴，适宜旅游。\"},\"uv\":{\"brf\":\"弱\",\"txt\":\"紫外线强度较弱，建议出门前涂擦SPF在12-15之间、PA+的防晒护肤品。\"},\"flu\":{\"brf\":\"较易发\",\"txt\":\"昼夜温差较大，较易发生感冒，请适当增减衣服。体质较弱的朋友请注意防护。\"},\"comf\":{\"brf\":\"舒适\",\"txt\":\"白天不太热也不太冷，风力不大，相信您在这样的天气条件下，应会感到比较清爽和舒适。\"},\"sport\":{\"brf\":\"较适宜\",\"txt\":\"天气较好，但考虑气温较低，推荐您进行室内运动，若户外适当增减衣物并注意防晒。\"},\"cw\":{\"brf\":\"不宜\",\"txt\":\"不宜洗车，未来24小时内有雨，如果在此期间洗车，雨水和路上的泥水可能会再次弄脏您的爱车。\"}},\"hourly_forecast\":[{\"wind\":{\"dir\":\"东南风\",\"deg\":\"143\",\"sc\":\"微风\",\"spd\":\"7\"},\"hum\":\"97\",\"tmp\":\"17\",\"pop\":\"77\",\"pres\":\"1008\",\"date\":\"2016-04-11 22:00\"}]}]}";
//
//		JSONObject json = (JSONObject) JSON.parse(jsonResult);
//		JSONArray  heWeather_data = json.parseArray("HeWeather data service 3.0");
		System.out.println("11111111");
	}

}
